<div class="{$bg_color} rounded-lg py-5 px-6 mb-4 text-base {$text_color} mb-3" role="alert">
  {if !empty($link)}
  {$link_content|raw}
  {else/}
  {$content|raw}
  {/if}
</div>